package demo.mybatis.test.service;

import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import demo.mybatis.entity.TUser;
import demo.mybatis.service.UserServiceImpl;

@SpringBootTest
public class SampleTestService {
	
	@Autowired
	private UserServiceImpl userServiceImpl;

	@Test
	public void test() {
		TUser user = this.userServiceImpl.getById(0);
		System.out.println(user);
	}
}
